package com.gill.config;

import com.gill.entity.User;
import com.gill.entity.UserFactoryBean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.context.annotation.Import;

@ComponentScan("com.gill.aop")
@Import(value = UserFactoryBean.class)//测试：使用import注解，让spring管理容器外部的实例
@EnableAspectJAutoProxy//开启AOP
public class AppConfig {
}
